<script setup lang="ts">
import { inject } from 'vue';
import { titleKey,refTitleKey } from './symbolkey';
// title得到的是string类型
const title = inject(titleKey)
const refTitle = inject(refTitleKey)
</script>
<template>
<div>
 this is B -- {{ title }} -- {{ refTitle }}
</div>
</template>
